<?php 
/**
 * Initialize lazy application
 * Script for load and run application dependencies
 * 
 * @package    Lazy Framework
 * @author     Eduardo Marcolino <eduardo.marcolino@gmail.com>
 * @copyright  (c) 2010 Eduardo Marcolino <eduardo.marcolino@gmail.com>
 */

// Application's constants
define('LAZY_FRAMEWORK_DIR',APP_DIR.'/lazy-framework');
define('LAZY_FRAMEWORK_DATA_DIR',LAZY_FRAMEWORK_DIR.'/data');
define('CONTROLLERS_DIR',APP_DIR.'/controllers');
define('MODELS_DIR',APP_DIR.'/models');
define('VIEWS_DIR',APP_DIR.'/views');
define('CACHE_DIR',APP_DIR.'/cache');
define('CONFIG_DIR',APP_DIR.'/config');
define('LOG_DIR',APP_DIR.'/logs');

// Vendor's libs
require_once(LAZY_FRAMEWORK_DIR.'/vendor/mapper/Mapper.php');
require_once(LAZY_FRAMEWORK_DIR.'/vendor/outlet-orm/Outlet.php');
require_once(LAZY_FRAMEWORK_DIR.'/vendor/twig/Twig/Autoloader.php');
require_once(LAZY_FRAMEWORK_DIR.'/vendor/spyc/spyc.php');
require_once(LAZY_FRAMEWORK_DIR.'/vendor/addendum/annotations.php');

//Lazy Framework Files
require_once(LAZY_FRAMEWORK_DIR.'/util/Config.php');
require_once(LAZY_FRAMEWORK_DIR.'/util/Context.php');
require_once(LAZY_FRAMEWORK_DIR.'/exception/PageNotFoundException.php');
require_once(LAZY_FRAMEWORK_DIR.'/exception/ControllerNotFoundException.php');
require_once(LAZY_FRAMEWORK_DIR.'/session/Session.php');
require_once(LAZY_FRAMEWORK_DIR.'/request/Request.php');
require_once(LAZY_FRAMEWORK_DIR.'/request/WebRequest.php');
require_once(LAZY_FRAMEWORK_DIR.'/controller/Controller.php');
require_once(LAZY_FRAMEWORK_DIR.'/controller/CrudController.php');
require_once(LAZY_FRAMEWORK_DIR.'/component/UploadedFile.php');
require_once(LAZY_FRAMEWORK_DIR.'/ppa/PPASpec.php');
require_once(LAZY_FRAMEWORK_DIR.'/ppa/PPAOutletORMImpl.php');


